extends "../weineituo-3/weineituo-3.gd"


var baseId = ""
var upText1 = "碾压影响范围+1"
var upText2 = "永夜晨光伤害提高30%"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("暴击后额外附带[三维*1]的可暴击技能伤害", "永夜晨光")

func _onAtkChara(atkInfo):
	._onAtkChara(atkInfo)
	if atkInfo.isCri:
		azurHurtChara(atkInfo.hitCha, att.atk+att.mgiAtk+att.def, sys.HurtType.WEAPON, sys.AtkType.SKILL, "永夜晨光", true, p4)
var p4 = 1
func upgrade():
	.upgrade()
	if upgraded == 1:
		p3 = 2
	if upgraded == 2:
		p4 = 1.3